const emptyHandle = () => {
  return false;
};

export default {
  bind(el, binding) {
    let domList = el.childNodes;
    let targetDom = Array.from(domList).filter(item => {
      return item.nodeName === 'INPUT';
    })[0];

    targetDom.onpaste = emptyHandle;

    targetDom.oncopy = emptyHandle;
  }
};
